/*
 * @Author: sin998
 * @Date: 2019-06-22 17:28:50
 * @LastEditors: sin998
 * @LastEditTime: 2019-06-22 17:36:08
 */
import Vue from 'vue'
import Router from 'vue-router'


import Home from './views/home/Home.vue'


import Beauty from './views/beauty/Beauty.vue'


import Food from './views/food/Food/Food.vue'
import FoodBarbecue from './views/food/FoodBarbecue/FoodBarbecue.vue'
import BarbecueRecommend from './views/food/FoodBarbecue/BarbecueRecommend/BarbecueRecommend.vue'
import FoodBuffet from './views/food/FoodBuffet/FoodBuffet.vue'
import FoodDessert from './views/food/FoodDessert/FoodDessert.vue'
import FoodFastFood from './views/food/FoodFastFood/FoodFastFood.vue'
import FoodHotPot from './views/food/FoodHotPot/FoodHotPot.vue'
import FoodRoastFish from './views/food/FoodRoastFish/FoodRoastFish.vue'
import FoodSea from './views/food/FoodSea/FoodSea.vue'
import FoodWestern from './views/food/FoodWestern/FoodWestern.vue'
import Login from './views/login/Login.vue'



import FastFood from './views/fastfood/FastFood.vue'
import Tobal from './views/tobal/tobal.vue';
import KTV from './views/ktv/KTV.vue'
import TravelFirst from './views/travel/First/Travel.vue'
import TravelSecond from './views/travel/Second/Travel.vue'
import Hair from './views/beauty/hair/Hair.vue'
import Info from './views/beauty/hair/info/Info.vue'
import Ininfo from './views/beauty/hair/info/ininfo/Ininfo.vue'
import Buy from './views/beauty/hair/info/buy/Smale.vue'
import Face from './views/beauty/face/Face.vue'
import Dance from './views/beauty/dance/Dance.vue'
import Makeup from './views/beauty/makeup/Makeup.vue'
import Slimming from './views/beauty/slimming/Slimming.vue'
import Manicure from './views/beauty/manicure/Manicure.vue'
import Entertain from './views/entertain/Entertain.vue'
import Position from './views/position/City.vue'
import PositionMore from './views/position/more/CityMore.vue'
import SecondFood from './views/fastfood/SecondFood.vue'
import Details from './views/entertain/Details.vue'
import Submit from './views/entertain/Submit.vue'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [

    // --------------------------Home板块-------------------------------

    {
      path: '/',
      name: 'home',
      component: Home,
    },
    // --------------------------login板块-------------------------------

    {
      path: '/Login',
      name: 'login',
      component: Login
    },

    // --------------------------Beauty板块-------------------------------

    {
      path: '/Beauty',
      name: 'beauty',
      component: Beauty
    },

    // --------------------------Food板块-------------------------------

    {
      path: '/Food',
      name: 'food',
      component: Food,
      children: [
        
      ]
    },
    {

      path: '/beauty/hair',
      name: 'hair',
      component: Hair

    },
    {
    path: '/beauty/hair/info',
    name: 'info',
    component: Info
    },
    {
    path: '/beauty/hair/info/ininfo',
    name: 'ininfo',
    component: Ininfo
    },
    {
      path: '/beauty/hair/info/buy',
      name: 'buy',
      component: Buy
      },
    {
      path: '/beauty/face',
      name: 'face',
      component:Face 
    },
    {
      path: '/beauty/dance',
      name: 'dance',
      component:Dance 
    },
    {
      path: '/beauty/makeup',
      name: 'makeup',
      component:Makeup 
    },
    {
      path: '/beauty/slimming',
      name: 'slimming',
      component:Slimming 
    },
    {
      path: '/beauty/manicure',
      name: 'manicure',
      component:Manicure 
    },
    {
      path: '/entertain',
      name: 'entertain',
      component: Entertain  
    },   
    {
      path: '/food/foodBarbecue',
      name: 'foodBarbecue',
      component: FoodBarbecue

    },
    {
      path: '/food/foodBarbecue/BarbecueRecommend',
      name: 'barbecueRecommend',
      component: BarbecueRecommend
    },
    {
      path: '/food/FoodBuffet',
      name: 'FoodBuffet',
      component: FoodBuffet
    },
    {
      path: '/food/FoodDessert',
      name: 'FoodDessert',
      component: FoodDessert
    },
    {
      path: '/food/FoodFastFood',
      name: 'FoodFastFood',
      component: FoodFastFood
    },
    {
      path: '/food/FoodHotPot',
      name: 'FoodHotPot',
      component: FoodHotPot
    },
    {
      path: '/food/FoodRoastFish',
      name: 'FoodRoastFish',
      component: FoodRoastFish
    },
    {
      path: '/food/FoodSea',
      name: 'FoodSea',
      component: FoodSea
    },
    {
      path: '/food/FoodWestern',
      name: 'FoodWestern',
      component: FoodWestern
    },



    // --------------------------FastFood板块--------------------------

    {
      path: '/FastFood',
      name: 'fastfood',
      component: FastFood
    },

    // --------------------------KTV板块-------------------------------

    {
path:'/secondfood',
name:'secondfood',
component:SecondFood
    },
    {
      path: '/KTV',
      name: 'ktv',
      component: KTV
    },

    // --------------------------Travel板块-------------------------------

    {
      path: '/travel',
      name: 'TravelFirst',
      component: TravelFirst   
    },{
      path: '/travel/travelSecond',
      name: 'TravelSecond',
      component: TravelSecond     

    },

    // --------------------------Entertain板块-------------------------------
    {
      path: '/entertain',
      name: 'entertain',
      component: Entertain
    },{
      path:'/Hotel',
      name:'tobal',
      component:Tobal
    },{
      path:'/Position',
      name:'position',
      component:Position
    },{
      path:'/Position/more',
      name:'positionMore',
      component:PositionMore        
    },
    {
      path: '/details',
      name: 'details',
      component: Details
    },
    {
      path: '/submit',
      name: 'submit',
      component: Submit
    }
  ] 

})
